package guzb.cnblogs.security.industrydemo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class JspViewController {

    @GetMapping(path={"/", "/index"})
    public String index() {
        return "index";
    }

    @GetMapping(path="/books")
    public String listBooks() {
        return "books";
    }

    @GetMapping(path="/system")
    public String systemInfo() {
        return "system";
    }

    @GetMapping(path="/rest")
    public String restfulPage() {
        return "rest";
    }
}
